<!--<input type='text' ng-model='info.select_label' placeholder='search...'-->
<!--ng-change="$ctrl.my_tree.set_select_branch(info.select_label)">-->
<div>
    <button class="btn btn-primary btn-sm"
            ng-click="$ctrl.addPage();"
            ng-disabled="!$ctrl.isPage">
            新增页面
    </button>
    <button class="btn btn-warning btn-sm"
            ng-click="$ctrl.updateBranch();"
            ng-disabled="!$ctrl.isPage">
            修改页面
    </button>
    <button class="btn btn-primary btn-sm"
            ng-click="$ctrl.addPageElement();"
            ng-disabled="$ctrl.isInput">
            新增元素
    </button>
    <button class="btn btn-success btn-sm hide" 
            ng-click="$ctrl.applyPageConfig()">
            刷新应用
    </button>
    <button class="btn btn-danger btn-sm"
            ng-click="$ctrl.delete()">
            删除
    </button>
    <br>
    <br>
    <div style="min-height:300px; overflow:auto">
        <abn-tree
            tree-data='$ctrl.my_data'
            tree-control='$ctrl.my_tree'
            on-select='$ctrl.my_tree_handler(branch)'
            expand-level='4'
            icon-leaf='fa fa-file-o'
            icon-expand='fa fa-plus'
            icon-collapse='fa fa-minus'
            is-tree-data-fun=true
            tree-data-fun='$ctrl.dataFun(info,treeIcon,visible)'>
        </abn-tree>
    </div>
</div>